package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_advisory_cancel")
public class OmcAdvisoryCancel extends BaseEntity {

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 咨询记录ID
     */
    @Column(name = "advisory_Id")
    private Integer advisoryId;

    /**
     * 老人姓名
     */
    @Column(name = "old_Name")
    private String oldName;

    /**
     * 取消预约原因
     */
    @Column(name = "cancel_Reason")
    private String cancelReason;

    /**
     * 备注
     */
    private String remark;

    /**
     * 房间ID
     */
    @Column(name = "room_Id")
    private Integer roomId;

    /**
     * 床位ID
     */
    @Column(name = "bed_Id")
    private Integer bedId;

    /**
     * 取消日期
     */
    @Column(name = "cancel_Time")
    private Date cancelTime;

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

}